package com.gubatian.jui.demo.atomic;

import java.util.concurrent.atomic.LongAdder;

/**
 * LongAdder原理剖析
 * @author: gubatian
 * @create: 2021-09-23 12:00
 */
public class LongAdderDemo {
    public static void main(String[] args) {
        LongAdder longAdder = new LongAdder();
        longAdder.increment();
        longAdder.add(10);
        longAdder.intValue();
    }
}
